package cn.kgc.service.impl;

import cn.kgc.mapper.ResumedeliverMapper;
import cn.kgc.pojo.ResumeNews;
import cn.kgc.pojo.Resumedeliver;
import cn.kgc.service.ResumedeliverService;
import cn.kgc.util.Page;
import com.alibaba.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;
@Service
public class ResumedeliverServiceImpl implements ResumedeliverService {
    @Resource
    private ResumedeliverMapper resumedeliverMapper;
    public Resumedeliver findById(Serializable id) {
        return null;
    }

    public List<Resumedeliver> findAll() {
        return null;
    }

    public int save(Resumedeliver resumedeliver) {
        return 0;
    }

    public int delete(Serializable id) {
        return 0;
    }

    public int update(Resumedeliver resumedeliver) {
        return 0;
    }

    public List<Resumedeliver> query(Object params) {
        return null;
    }

    public Page queryByPage(Object params, Page page) {
        return null;
    }

    public List<ResumeNews> getResumedeliverById(Integer companyId, Integer resultStateId) {
        return resumedeliverMapper.getResumedeliverById(companyId,resultStateId);
    }

    public Integer countByidAndresultStateId(Integer companyId, Integer resultStateId) {
        return resumedeliverMapper.countByidAndresultStateId(companyId,resultStateId);
    }

    public Integer update(Integer id, Integer resultStateId) {
        return resumedeliverMapper.update(id, resultStateId);
    }
}
